import axios from './request';

export default {
  getPersonal() {
    return axios.get('/users/logined');
  },
  editPersonal(data) {
    return axios.put('/users/logined', data);
  },
  editPersonalPassword(data) {
    return axios.put('/users/password', data);
  },
  avatarUser(data) {
    return axios.post('/users/avatar', data);
  },
};
